import request from "@/utils/request";
/**
 * 修改认证状态
 * @param {*} data 修改数据
 * @returns
 */
export function updateStatus(data) {
  return request({
    url: "/farmer/auth/audit",
    method: "post",
    data: data,
  });
}

/**
 * 判断当前账号登录申请状态
 */
export function getAuthStatus() {
    return request({
        url:"/farmer/auth/getAuthStatus",
        method: "get"
    })
}
